package com.tf8.treasure.mapper;

import com.tf8.treasure.entity.MultiMedia;
import com.tf8.treasure.entity.MultiMediaExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.data.domain.Pageable;

@Mapper
public interface MultiMediaMapper {
    int countByExample(MultiMediaExample example);

    int deleteByExample(MultiMediaExample example);

    int deleteByPrimaryKey(Long id);

    int insert(MultiMedia record);

    int insertSelective(MultiMedia record);

    List<MultiMedia> selectByExample(MultiMediaExample example);

    MultiMedia selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") MultiMedia record, @Param("example") MultiMediaExample example);

    int updateByExample(@Param("record") MultiMedia record, @Param("example") MultiMediaExample example);

    int updateByPrimaryKeySelective(MultiMedia record);

    int updateByPrimaryKey(MultiMedia record);

    List<MultiMedia> selectPageByExample(@Param("example") MultiMediaExample example, @Param("pageable") Pageable pageable);
}